WeDevs\Dokan\REST\WithdrawController A

Total Complexity 75
Dependencies 6
Dependents 0
Total lines 806
Lines of code 502
Logical lines of code 198
Comment lines 191
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
batch_items()
A
42 12 61
update_item()
A
44 12 43
create_item()
A
44 8 42
get_items()
A
44 8 42
format_collection_response()
S
51 7 25
prepare_item_for_response()
S
50 6 27
register_routes()
S
40 1 77
get_item_schema()
S
41 1 68
delete_item()
S
60 3 13
get_item_permissions_check()
S
63 3 11
withdraw_exists()
S
62 3 11
get_public_batch_schema()
S
48 1 40
create_item_permissions_check()
S
79 2 3
prepare_links()
S
63 1 11
get_item()
S
72 1 5
get_items_permissions_check()
S
80 1 3
get_user_data()
S
76 1 4
batch_items_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
get_balance()
S
67 1 7